import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
 
// 路由类型:RouteRecordRaw
const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Home",
    component: () => import('/src/components/Apps/Simulation/Home.vue'),
  },
  {
    path: "/MenuIndex",
    name: "MenuIndex",
    component: () => import("/src/components/Apps/Simulation/menu/MenuIndex.vue"),
  },
  {
    path: "/strAppraisalSettings",
    name: "strAppraisalSettings",
    component: () => import("/src/components/Apps/Simulation/strAppraisalSettings/index.vue"),
  },
  {
    path: "/strSummaryPage",
    name: "strSummaryPage",
    component: () => import("/src/components/Apps/Simulation/strSummaryPage/index.vue"),
  },
  {
    path: "/simulationTraining",
    name: "simulationTraining",
    component: () => import("/src/components/Apps/Simulation/simulationTraining/index.vue"),
  },
  {
    path: "/appraisalSettings",
    name: "appraisalSettings",
    component: () => import("/src/components/Apps/Simulation/appraisalSettings/index.vue"),
  },
  {
    path: "/summaryPage",
    name: "summaryPage",
    component: () => import("/src/components/Apps/Simulation/summaryPage/index.vue"),
  },
  {
    path: "/demarcatePage",
    name: "demarcatePage",
    component: () => import("/src/components/Apps/Simulation/demarcatePage/index.vue"),
  },
  {
    path: "/sensorModel",
    name: "sensorModel",
    component: () => import("/src/components/Apps/Simulation/sensorModel/index.vue"),
  },
  {
    path: "/demarcateMenu",
    name: "demarcateMenu",
    component: () => import("/src/components/Apps/Simulation/demarcateMenu/index.vue"),
  },
  {
    path: "/installMenu",
    name: "installMenu",
    component: () => import("/src/components/Apps/Simulation/installMenu/index.vue"),
  },
];
 
const router = createRouter({
  // 路由模式
  history: createWebHistory(),
  routes,
});
 
export default router;